﻿namespace SingletonPattern
{
    /// <summary>
    /// Author : Jimmy.you
    /// Date   : 2018-07-19
    /// Desc   : 静态初始化单例
    /// </summary>
    public sealed class SealdSingleton
    {
        private static readonly SealdSingleton _instance = new SealdSingleton();
        private SealdSingleton() { }

        public static SealdSingleton GetInstance()
        {
            return _instance;
        }
    }
}